<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title></title>
    <link rel="stylesheet" href="css/pintuer.css">
    <link rel="stylesheet" href="css/admin.css">
    <script src="js/jquery.js"></script>
    <script src="js/pintuer.js"></script>
</head>
<body>
<form action="expressupdate" method="post" name="form1">
<div class="panel admin-panel">
    <div class="panel-head"><strong> 快递信息</strong></div>
    <div class="body-content">
        <div class="form-x">


            <div class="form-group">
                <div class="label">
                    <label for="sitename">发货姓名：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="hairname"  value="{$list['hairname']}" size="50" />
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label for="sitename">发货手机号：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="hairphone"  value="{$list['hairphone']}" size="50" />
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label for="sitename">快递单号：</label>
                </div>
                <div class="field">

                        <input type="text" class="input w50" name="oddnumbers" value="{$list['oddnumbers']}" size="50"   />

                </div>
            </div>


            <hr>
            <div class="form-group">
                <div class="label">
                    <label for="sitename">发货城市：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50"  name="haircity" value="{$list['haircity']}" size="50" />
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label for="sitename">发货地址：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="hairaddress"  value="{$list['hairaddress']}" size="50" />
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label for="sitename">发货单位名称：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="haircompany"  value="{$list['haircompany']}" size="50" />
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label for="sitename">运费金额：</label>
                </div>
                <div class="field">
                    <select id="type" class="input w50" name="sign">
                        {if condition="$list.pay ==1"}
                        <option value="1" selected >寄付</option>
                        <option value="2"  >到付</option>
                        {/if}
                        {if condition="$list.pay ==2"}
                        <option value="1" selected >到付</option>
                        <option value="2"  >寄付</option>
                        {/if}
                    </select>
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label for="sitename">重量：</label>
                </div>
                <div class="field">

                        <input type="text" class="input w50" name="weight"  value="{$list['weight']}" size="50" />KG

                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label for="sitename">数量：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50"  name="number" value="{$list['number']}" size="50" />
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label for="sitename">保险价格：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="insuredprice"  value="{$list['insuredprice']}" size="50" />
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label for="sitename">揽收员工：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="collect" disabled value="{$list['collect']}" size="50" />
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label for="sitename">费用总计：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="totalpay"  value="{$list['totalpay']}" size="50" />
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label for="sitename">快递物品：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="article"  value="{$list['article']}" size="50" />
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label for="sitename">收件人姓名：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="collectname"  value="{$list['collectname']}" size="50" />
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label for="sitename">收件人手机号：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="collectphone"  value="{$list['collectphone']}" size="50" />
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label for="sitename">收件人地址：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50"  name="collectaddress" value="{$list['collectaddress']}" size="50" />
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label for="sitename">收件人单位名称：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="collectompany"  value="{$list['collectompany']}" size="50" />
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>签收状态：</label>
                </div>
                <div class="field">
                    <select id="type" class="input w50" name="sign">
                        {if condition="$list.sign ==0"}
                        <option value="0" selected >未签收</option>
                        <option value="1"  >已签收</option>
                        {/if}

                        {if condition="$list.sign ==1"}
                        <option value="1" selected>已签收</option>
                        <option value="0"  >未签收</option>
                        {/if}
                    </select>
                </div>
            </div>



        </div>
            <center><button class="button bg-main icon-check-square-o" onclick="expressupdate({$list['id']})"> 修改</button>   </center>

        </div>
    </div>
</div>

</body>
<script>
    function expressupdate(a) {
        document.form1.action="expressupdate?id="+a;
        //alert(123);
        document.form1.submit();
    }
</script>
</html>